<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script>
        //利用new来创建数组
       var arr =new Array();

        //利用字变量来创建数组
       var arr1=[ ];

        //声明数组并进行数组的初始化
        var arr2=['巴啦啦小魔仙',12,true];
        
        console.log(arr2);
    </script>
    </head>
    </html>